﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using BindingTargetUpdatedEventTrigger.Model;
using BindingTargetUpdatedEventTrigger.ViewModel;
using BindingTargetUpdatedEventTrigger.View;

namespace BindingTargetUpdatedEventTrigger
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            var model = new CustomValue();
            var viewModel = new CustomValueViewModel(model);
            var view = new CustomValueView {DataContext = viewModel};
            view.Show();
        }
    }
}
